package com.niit.TopOne.pctopone;

import com.niit.bean.PcTopOneBean;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class PcTopOneReducer extends Reducer<PcTopOneBean, NullWritable,PcTopOneBean,NullWritable> {

    @Override
    protected void reduce(PcTopOneBean key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        context.write(key,NullWritable.get());
    }

}